package com.hyt.it.ogt.ykcj.service.grade;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.ykcj.domain.grade.EnterpriseExamineeCertificateRelation;

import java.util.List;

/**
 * <p>
 * 企业考生证书关联 服务类
 * </p>
 *
 * @author yanghuankun@talkweb.com.cn
 * @since 2023-06-12
 */
public interface IEnterpriseExamineeCertificateRelationService extends IService<EnterpriseExamineeCertificateRelation> {

    /**
     * 通过考试ID查询证书关联
     *
     * @param examineeInfoId
     * @return
     */
    List<EnterpriseExamineeCertificateRelation> listByExamineeInfoId(String examineeInfoId);

    /**
     * 通过考试ID查询证书关联
     *
     * @param examineeInfoId
     * @return
     */
    List<String> listNameByExamineeInfoId(String examineeInfoId);

    /**
     * 获取考生可以查看的证书
     *
     * @param examId
     * @param examineeId
     * @param zsInfoIds
     * @return
     */
    List<String> listCanViewByExaminee(String examId, String examineeId, List<String> zsInfoIds);

    /**
     * 删除考生绑定关系
     * @param examineeInfoIs
     */
    void removeByExamineeInfoIds(String... examineeInfoIs);
}
